package com.zhilong;


public class GlobalSettings {
	private static String server = "longertec.com"; // Default to host from emulator
	private static String project = "ionline"; 
	
	public static void setServer(String addr)
	{
		server = addr;
	}
	
	public static String getServer()
	{
		return server;
	}
	
	public static String getServerHttpUrl()
	{
		return "http://" + server + "/" + project;
	}
	
	public static String getServerWsUrl()
	{
		return "ws://" + server + "/" + project;
	}
}
